package com.fdb.efp.nls.service.facade.signature;

import com.fdb.efp.nls.service.vo.signature.SignatureRecordVO;
import com.fdb.efp.nls.service.vo.signature.SignatureStamUploadRecordVO;

import java.util.ArrayList;

/**
 * 开发人员：【肖均辉】<br/>
 * 创建日期：【2019-09-03】<br/>
 * 功能描述：xxxxxxxx<br/>
 *
 * @author xiaojunhui<br />
 */
public interface SignatureService {
    /**
     * 签章
     * @return
     */
    Boolean signature();

    /**
     * 根据id查询签章记录信息
     * @param id
     * @return
     */
    SignatureRecordVO selectByPrimaryKey(String id);

    /**
     *
     * @param signatureRecordVO
     * @return
     */
    Integer updateRecordByPrimaryKey(SignatureRecordVO signatureRecordVO);


    /**
     * 获取需要加戳上传的记录数据
     * @param maxNum
     * @param maxRtyNum
     * @return
     */
    ArrayList<SignatureStamUploadRecordVO> selectStamRecord(Integer maxNum, Integer maxRtyNum);

    /**
     * 根据主键更新记录
     * @param signatureStamUploadRecordVO
     * @return
     */
    Integer updateStamRecordByPrimaryKey(SignatureStamUploadRecordVO signatureStamUploadRecordVO);
}
